<template>
  <div>
    <div class="teaching-model-box">
      <div v-for="item in images" :key="item.src">
        <p>{{ item.text }}</p>
        <img :src="publicPath + item.src" />
      </div>
    </div>
    <div class="teaching-info-box">
      <p>
        优质的教学环境&nbsp;<span
          >设备齐全现代化多媒体教室，确保每位学员都能全心全意的享受高质量培训。</span
        >
      </p>
      <div>
        <img v-for="item in infos" :key="item" :src="publicPath + item" />
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      images: [
        {
          text: "创新技术引领前沿",
          src: "teachingModel1.png"
        },
        {
          text: "名师指导一对一教学",
          src: "teachingModel2.png"
        },
        {
          text: "理论+实操双轨结合",
          src: "teachingModel3.png"
        }
      ],
      infos: ["teachingModel4.png", "teachingModel5.png"],
      publicPath: process.env.BASE_URL
    };
  }
};
</script>

<style lang="scss" scoped>
.teaching-model-box {
  display: flex;
  justify-content: space-between;
  box-sizing: border-box;
  width: 100%;
  padding: 0 14px;
  div {
    height: 100%;
    width: 32%;
    color: #000;
    font-size: 12px;
    text-align: center;
    img {
      width: 100%;
      height: 100%;
    }
  }
}
.teaching-info-box {
  padding: 0 14px;
  width: 100%;
  box-sizing: border-box;

  p {
    color: #000;
    font-size: 14px;
    span {
      color: #000;
      font-size: 10px;
    }
  }
  div {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 100px;
    padding-bottom: 10px;
    img {
      width: 48%;
      height: 100%;
    }
  }
}
</style>
